package com.sooth.system.tenant.service;


import com.dream.boot.impl.ServiceImpl;
import com.sooth.system.tenant.mapper.SysTenantMapper;
import com.sooth.system.tenant.view.SysTenantBo;
import com.sooth.system.tenant.view.SysTenantVo;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@RequiredArgsConstructor
@Service
public class SysTenantServiceImpl extends ServiceImpl<SysTenantVo, SysTenantBo> implements ISysTenantService {
    private final SysTenantMapper tenantMapper;

    @Override
    public SysTenantVo queryByTenantId(String tenantId) {
        return tenantMapper.queryByTenantId(tenantId);
    }
}
